<!--Generate by Kevin's CodeBuilder -->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>bui-ssm快速开发框架</title>
	<head th:include="source::header"></head>
    <style>
        body{
            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            min-height: 100%;
         }
         #main{
             width: 98%;
             margin: 22px auto;
             box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            padding:0;           
            min-height: 100%;
            position: relative;
         }
        .k_box_shadow {
		    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#D8D8D8')";
		    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#D8D8D8');
		    -moz-box-shadow: 0px 0px 3px 3px #D8D8D8;
		    -webkit-box-shadow: 0px 0px 3px 3px #D8D8D8;
		    box-shadow: 0px 0px 3px 3px #D8D8D8;
		}
    </style>
</head>

<body>
    <div id="main"></div>
    <script type="text/javascript">
        $(function(){
            var c = parent["curEditor"].getContent();
            $("#main").html(c);
            var $main = $("#main").html(c);
            //收起，展开代码
            $main.children("._section_div_close_title").each(function(){
                var $c = $(this).css("cursor","pointer");
                $c.on("click",function(){
                    var tag = $(this);
                    var closeCount = parseInt(tag.attr("closed_count"));
                    var next = tag.next("._section_div_");
                    var isShow = next.css("display") === "none";
                    while(closeCount > 0){
                        if(isShow){
                            next.show();
                        }else{
                            next.hide();
                        }
                        next = next.next();
                        closeCount--;
                    }
                });
            });
        });
    </script>
</body>

</html>